package com.hqd.ch03.v50.boot.context.config;

import com.hqd.ch03.v50.boot.origin.OriginProvider;

public abstract class ConfigDataNotFoundException extends ConfigDataException implements OriginProvider {

    /**
     * Create a new {@link ConfigDataNotFoundException} instance.
     *
     * @param message the exception message
     * @param cause   the exception cause
     */
    ConfigDataNotFoundException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Return a description of actual referenced item that could not be found.
     *
     * @return a description of the referenced items
     */
    public abstract String getReferenceDescription();

}

